package com.woniuxy.amusementparkos.exception.lzw;

import com.woniuxy.amusementparkos.exception.lzw.unifyhanding.code.PublicCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

import javax.xml.transform.Result;

/**
 * 自定义异常
 *
 * @author lizhiwen
 * @create 2020-04-23 5:39 下午
 */
@Getter
@AllArgsConstructor
public class CasherManagementException extends RuntimeException {

    /**
     * 在异常返回值里，加入自定义内容
     */
    private PublicCode publicCode;


    public CasherManagementException() {
    }

    public CasherManagementException(String message) {
        super(message);
    }

    public CasherManagementException(String message, Throwable cause) {
        super(message, cause);
    }

    public CasherManagementException(Throwable cause) {
        super(cause);
    }

    public CasherManagementException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }


}
